package org.example.electronic_fence.model.dto;

import lombok.Data;

@Data
public class DeviceControlDto{
    private Integer CommNO;
    private Integer DevNO;
    private Integer ZoneNO; // 可选字段，根据需求可能不存在
    private String Pwd;
    private String EventName;
    private Integer EventType;
    private Integer EventVal;
    private String D_ID;
    private String id;

    @Override
    public String toString() {
        return "DeviceData{" +
                "CommNO=" + CommNO +
                ", DevNO=" + DevNO +
                ", ZoneNO=" + ZoneNO +
                ", Pwd='" + Pwd + '\'' +
                ", EventName='" + EventName + '\'' +
                ", EventType=" + EventType +
                ", EventVal=" + EventVal +
                '}';
    }
}